.class Lcom/waiqin365/lightapp/view/dc;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/CustomerSelectView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/CustomerSelectView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->g:Z

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->x:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "tradeType"

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v2, v2, Lcom/waiqin365/lightapp/view/CustomerSelectView;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v2, v2, Lcom/waiqin365/lightapp/view/CustomerSelectView;->a:Landroid/content/Context;

    const-class v3, Lcom/waiqin365/lightapp/kehu/CMCustomerDetailsActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "cmId"

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v3, v3, Lcom/waiqin365/lightapp/view/CustomerSelectView;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "isEdit"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v2, "jsonhashmap"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->b:Landroid/app/Activity;

    invoke-virtual {v0, v1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->b:Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;->u:Ljava/lang/String;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v1, v1, Lcom/waiqin365/lightapp/view/CustomerSelectView;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/dc;->a:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->g()V

    goto :goto_0
.end method
